package io.cloud.tec.project.web;

import io.cloud.tec.project.dto.MvcReqDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("api/mvc")
public class MvcWeb {

    @PostMapping("initBinder")
    public void initBinder(@RequestBody MvcReqDTO mvcReqDTO) {
        log.info("{}", mvcReqDTO);
    }
}
